<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>二手车价格预估</title>
</head>
<body>

{% if result %}
<h1>预估结果：{{ result }}</h1>
{% endif %}

<form action="/predict" method="post">
    <table>
        <tr>
            <th>请输入fuel：</th>
            <td><input type="text" name="fuel"></td>
        </tr>
        <tr>
            <th>请输入seller_type：</th>
            <td><input type="text" name="seller_type"></td>
        </tr>
        <tr>
            <th>请输入transmission：</th>
            <td><input type="text" name="transmission"></td>
        </tr>
        <tr>
            <th>请输入owner：</th>
            <td><input type="text" name="owner"></td>
        </tr>
        <tr>
            <th>请输入mileage：</th>
            <td><input type="text" name="mileage"></td>
        </tr>
        <tr>
            <th>请输入engine：</th>
            <td><input type="text" name="engine"></td>
        </tr>
        <tr>
            <th>请输入max_power：</th>
            <td><input type="text" name="max_power"></td>
        </tr>
        <tr>
            <th>请输入torque：</th>
            <td><input type="text" name="torque"></td>
        </tr>
        <tr>
            <th>请输入seats：</th>
            <td><input type="text" name="seats"></td>
        </tr>
        <tr>
            <th>提交：</th>
            <td><input type="submit" name="submit" value="提交"></td>
        </tr>
    </table>
</form>

</body>
</html>